package com.vietjetair.service;

import com.vietjetair.vo.TicketVo;
import org.openqa.selenium.WebDriver;

import java.awt.*;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface CheckTicketService {
    void registeredUserInformation(WebDriver driver);

    WebDriver login(WebDriver driver) throws InterruptedException;

    List<Map> priceChecking(TicketVo vo) throws InterruptedException;

    /**
     * 扣位
     * @param vo
     * @throws InterruptedException
     */
    void fillInTheInformation(TicketVo vo) throws InterruptedException, IOException, AWTException;

    /**
     * 查价
     * @param vo
     * @return
     * @throws InterruptedException
     */
    List<Map> findTicket(WebDriver driver,TicketVo vo) throws InterruptedException;

    void test() throws InterruptedException;
}
